.tn-tc-fields.tn-tc-fields--left-image-right-text.tn-tc-fields--image-and-text
  = f.hidden_field :row_type
  = f.hidden_field :list_order
  = f.fields_for :pieces do |piece|
    = piece.hidden_field :piece_type
    - if piece.object.piece_type == 'Image'
      .tn-tc-fields__asset{ class: "inner#{piece.object.size}" }
        .tn-tc-asset-field
          = render 'tenon/tenon_content/piece_types/form/image', f: piece, style: 'half'
    - elsif piece.object.piece_type == 'Text'
      .omega{ class: "inner#{piece.object.size}" }
        = render 'tenon/tenon_content/piece_types/form/text', f: piece
  .spacer
